package com.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class Memberflolowexpert implements Serializable {
    private String mfeno;

    private String eno;

    private String mno;

    private Date mfedate;

    private Expert expert;

    private static final long serialVersionUID = 1L;

    public String getMfeno() {
        return mfeno;
    }

    public void setMfeno(String mfeno) {
        this.mfeno = mfeno;
    }

    public String getEno() {
        return eno;
    }

    public void setEno(String eno) {
        this.eno = eno;
    }

    public String getMno() {
        return mno;
    }

    public void setMno(String mno) {
        this.mno = mno;
    }

    public Date getMfedate() {
        return mfedate;
    }



    public void setMfedate(Date mfedate) {
        this.mfedate = mfedate;
    }

    public Expert getExpert() {
        return expert;
    }

    public void setExpert(Expert expert) {
        this.expert = expert;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Memberflolowexpert other = (Memberflolowexpert) that;
        return (this.getMfeno() == null ? other.getMfeno() == null : this.getMfeno().equals(other.getMfeno()))
            && (this.getEno() == null ? other.getEno() == null : this.getEno().equals(other.getEno()))
            && (this.getMno() == null ? other.getMno() == null : this.getMno().equals(other.getMno()))
            && (this.getMfedate() == null ? other.getMfedate() == null : this.getMfedate().equals(other.getMfedate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getMfeno() == null) ? 0 : getMfeno().hashCode());
        result = prime * result + ((getEno() == null) ? 0 : getEno().hashCode());
        result = prime * result + ((getMno() == null) ? 0 : getMno().hashCode());
        result = prime * result + ((getMfedate() == null) ? 0 : getMfedate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", mfeno=").append(mfeno);
        sb.append(", eno=").append(eno);
        sb.append(", mno=").append(mno);
        sb.append(", mfedate=").append(mfedate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}